from typing import List
from pydantic import Field, BaseModel


class Page(BaseModel):
    page: int = Field(1, title='页码')
    page_size: int = Field(10, title='每页条数')
    total: int = Field(0, title='每页条数')


class BatchId(BaseModel):
    ids: List[str] = Field(..., title='ID列表')
